//
//  ShortVideoLogic.h
//  UniversalApp
//
//  Created by 志刚杨 on 2018/2/27.
//  Copyright © 2018年 voidcat. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "videoListModel.h"
@protocol videoListLogicDelegate <NSObject>
@optional
/**
 数据加载完成
 */
-(void)requestDataCompleted;
@end

@interface ShortVideoLogic : NSObject
@property (nonatomic,strong) NSMutableArray * dataArray;//数据源
@property (nonatomic,assign) NSInteger  page;//页码
@property(nonatomic,weak)id<videoListLogicDelegate> delegagte;
@property(nonatomic, strong) NSString *type;
@property(nonatomic, strong) NSString *uid;//获取某个人的id
@property(nonatomic, assign) BOOL getMyVideo;
typedef void (^onSuccess)(void);
/**
 拉取数据
 */
-(void)loadData;

//视频点赞
-(void)followVideo:(videoListModel *)model :(onSuccess)success;
@end
